class LoadingUI extends egret.Sprite{

    private text:egret.TextField;
	private bg:egret.Shape;
	private logo:egret.Bitmap;

	public constructor() {
		super();
		this.bg=new egret.Shape();
		this.bg.graphics.beginFill(0x000000,1);
		this.bg.graphics.drawRect(0,0,1136,740);
		this.addChild(this.bg);

		// this.logo=new egret.Bitmap(RES.getRes("bb_jpg"));
		// this.addChild(this.logo);


		this.text=new egret.TextField();
		this.text.text="100000";
		this.text.width=500;
		this.text.y=300;
		this.text.size=70;

		this.addChild(this.text);

	}
	public SetProgress(currentPecent,totalPecent){
		this.text.text=currentPecent+"/"+totalPecent;
	}
}